package cn.xinping;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author 27266
 * @desrciption
 * @date 2021/11/20
 */
@SpringBootApplication
@EnableEurekaClient // 注册到eureka客户端
@EnableConfigServer // 开启配置中心
public class ConfigApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class);
    }
}
